package com.xlx.openLink.dao;

import com.xlx.openLink.entity.pojo.Port;
import com.xlx.openLink.entity.pojo.Speed;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SpeedMapper {
    int deleteByPrimaryKey(String pkGuid);

    int insert(Speed record);

    int insertSelective(Speed record);

    Speed selectByPrimaryKey(String pkGuid);

    int updateByPrimaryKeySelective(Speed record);

    int updateByPrimaryKey(Speed record);

    Speed selectByPortId(String pId);

    int insertBatch(@Param("list") List<Speed> list);

    int updateBatch(@Param("list") List<Speed> list);

    List<Speed> selectListList(@Param("pId") String pid);
}